home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group00a.txt
/
000027_icon-group-sender _Mon Feb 7 12:38:40 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2001-01-03
|
1KB
Return-Path: <icon-group-sender>
Received: (from root@localhost)
by baskerville.CS.Arizona.EDU (8.9.1a/8.9.1) id MAA18693
for icon-group-addresses; Mon, 7 Feb 2000 12:38:27 -0700 (MST)
Message-Id: <200002071938.MAA18693@baskerville.CS.Arizona.EDU>
Date: Mon, 7 Feb 2000 09:41:45 -0700 (MST)
From: Gregg Townsend <gmt@baskerville.CS.Arizona.EDU>
To: andsol@mtm.ufsc.br, icon-group@optima.CS.Arizona.EDU
Subject: Re: factors.icn
Errors-To: icon-group-errors@optima.CS.Arizona.EDU
Status: RO
From: Andrzej Solecki <andsol@mtm.ufsc.br>
...[factors()] returns only one factor if the number has just two
(distinct) ones. Some numbers (like 99) are also discriminated....
Besides, it chokes soon enough even when one of the factors
is reasonably small, say `./fct 33285' returns `33285 - 3 5 7'....
factors.icn was buggy in Icon 9.3.1. It was fixed in the Icon 9.3.2
library. The new version of factors.icn by itself can be found at
http://www.cs.arizona.edu/icon/library/src/procs/factors.icn
---------------------------------------------------------------------------
Gregg Townsend Staff Scientist The University of Arizona
gmt@cs.arizona.edu Computer Science Tucson, Arizona, USA